''' after version 1, these really shouldn't have to be changed,
    but in case they do, it'll be really easy.
'''

DEVEL_MODE_KEY = K_F5

CONDITIONS = [
    'OK', 'fainted', 'confused', 'poisoned', 'asleep', 'frozen', 'burned','charmed',
    'paralyzed', 'berserk', 'cursed', 'doomed', 'silenced', 'stunned', 'locked',
]
for i, c in enumerate(CONDITIONS):
    locals()['CONDITION_' + c.upper()] = i
    locals()['CONDITION_%s_STRING' % c.upper()] = c

PERSISTENT_CONDITIONS = ['OK', 'poisoned', 'asleep', 'frozen', 'burned', 'paralyzed', 'berserk']
# non-persistent conditions are replaced with OK when a battle ends

COLORS = [
    # standard pokemon colors, plus white, black, grey, and light
    'colorless', 'white', 'grey', 'black', 'light', 'dark',
    'grass', 'fire', 'water', 'ice', 'electric', 'ground',
    'rock', 'fighting', 'psychic', 'flying', 'bug', 'steel',
    'dragon', 'ghost', 'poison', 'secret',
]
for i,c in enumerate(COLORS):
    locals()['COLOR_' + c.upper()] = i
    locals()['COLOR_%s_STRING' % c.upper()] = c
del i, c

ALL_COLORS = tuple(range(len(COLORS)))

COLOR_RELATIONSHIPS = {
    # c: ((types that c is ineffective against), (types that c is not very effective against), (types that c is super effective against),
    #     (types that c is immune to), (types that c is resistant to), (types that c is weak to)),
    COLOR_COLORLESS:	((), (), (), (), (), ()),
    COLOR_WHITE:	((), (), (), (), (), ()),
    COLOR_GREY:		((), (), (), (), (), ()),
    COLOR_BLACK:	((), (), (), (), (), ()),
    COLOR_LIGHT:	((), (), (), (), (), ()),
    COLOR_DARK:		((), (), (), (), (), ()),
    COLOR_GRASS:	((), (), (), (), (COLOR_WATER, ), (COLOR_FIRE, )),
    COLOR_FIRE:		((), (), (), (), (), ()),
    COLOR_WATER:	((), (), (), (), (), ()),
    COLOR_ICE:		((), (), (), (), (), ()),
    COLOR_ELECTRIC:	((), (), (), (), (), ()),
    COLOR_GROUND:	((), (), (), (), (), ()),
    COLOR_ROCK:		((), (), (), (), (), ()),
    COLOR_FIGHTING:	((), (), (), (), (), ()),
    COLOR_PSYCHIC:	((), (), (), (), (), ()),
    COLOR_FLYING:	((), (), (), (COLOR_GROUND, COLOR_ROCK, ), (), ()),
    COLOR_BUG:		((), (), (), (), (), ()),
    COLOR_STEEL:	((), (), (), (), (), ()),
    COLOR_DRAGON:	((), (), (), (), (), ()),
    COLOR_GHOST:	((), (), (), (COLOR_COLORLESS, COLOR_GROUND, ), (), ()),
    COLOR_POISON:	((), (), (), (), (), ()),
    COLOR_SECRET:	((), (), ALL_COLORS, ALL_COLORS, (), ()),
}
# entries in the above table [sans secret] will be revealed to user [through a sub-MainMenu screen] after user has experienced them 3 times

OFFENSIVELY_INEFFECTIVE = 0.0
OFFENSIVELY_SUBEFFECTIVE = 0.5
OFFENSIVELY_SUPEREFFECTIVE = 2.0
DEFENSIVELY_IMMUNE = 0.0
DEFENSIVELY_RESISTANT = 0.5
DEFENSIVELY_WEAK = 1.5
STAB = 1.5	# coefficient when the ability type matches the type of the using pykemon

MAIN = '## set to an instance of Main in Main.__init__'
EVOLVE_BY_TRADE = -1
EVOLVE_BY_HAPPINESS = -2
SEX_MALE = True
SEX_FEMALE = False
SEX_NONE = None
EVERY_ITER = object()	# a pseudo-event that is signalled every iteration of the main loop
CONFIG_FN = 'pykemon.conf'

STORYLINE = '''
You are an intrepid explorer in a vast new world filled with
hundreds of mysterious species of animals called Pykemon
with hundreds of mysterious abilities.

Your mission is to collect one of every kind, learn about them,
and train them to help you save this mysterious world from the
clutches of the evil NanoDoe Corporation Inc.

Can you find them all? Can you learn enough and train hard enough
to stop NanoDoe Inc. from imprisoning, brainwashing, torturing,
and using the Pykemon for their own personal gain?
'''
# self: when you forget, NanoDoe = Nano-Dough = Micro-Soft

if os.name == 'nt':
    USAGE = '''
    
    '''.replace(('\n' + (' ' * 8)), '\n')
elif os.name == 'posix':
    USAGE = '''
    
    '''.replace(('\n' + (' ' * 8)), '\n')